package com.forezp.service;

import com.forezp.data.Company;
import com.forezp.data.User;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by yangfei on 2017/4/6.
 */
@FeignClient(value = "service-go")
public interface SchedualServiceGo {
    @RequestMapping(value = "/go",method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE, consumes = MediaType.APPLICATION_JSON_UTF8_VALUE)
    Company sayHiFromClientGo(Company company);
}
